﻿/* $RCSFile: ADNCRMCommon.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.Consts/ADNCRMCommon.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:27  christian.surieux
 *   Added Log to All cs files
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AddonNice.Configuration
{
    /// <summary>
    /// All common enums and classes
    /// </summary>
    
    [Flags]
    public enum ADNPageFlags : int 
    { 
        Normal                  =   0x00, 
        NotOkForMenu            =   0x01, // Should not appear in menus 
        OnlyFormsAuthentication =   0x02, // Should appear in menus only when Form authentication
        LoginLoc                =   0x04, // Use 'login like' folder: not necessitating authenticated user when Forms but ssl prefered
        SecureLoc               =   0x08, // Use the secure folder, only authenticared users allowed, ssl always
        KeepTargetPage          =   0x10, // Keep TargetPage when building url for this page
        IsLoginPage             =   0x20, // This page is a login page
        IsRegisterPage          =   0x40, // This page is a register page
        IsEditProfile           =   0x80,  // This page is an edit profile page
        OnlyAuthenticated       =   0x100 // Should appear in menus only when user authenticated
    };


}
